home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / Vollversion / CamD / development / examples / vu / images.c next >
C/C++ Source or Header  |  2000-05-15  |  13KB  |  661 lines

  1. /* Iff2Src conversion: vu1.br */
  2.  
  3. #include "std_headers.h"
  4.  
  5. static __chip UWORD data1[470] =
  6.     {
  7.     /* Plane 0 */
  8.         0x7FFF,0xE000,
  9.         0x0000,0x0000,
  10.         0x0000,0x2000,
  11.         0x5001,0xA000,
  12.         0x5801,0xA000,
  13.         0x5BFD,0xA000,
  14.         0x5BF1,0xA000,
  15.         0x53F9,0xA000,
  16.         0x5BF1,0xA000,
  17.         0x5559,0xA000,
  18.         0x5FFD,0xA000,
  19.         0x5FFD,0xA000,
  20.         0x4FFD,0xA000,
  21.         0x4FFD,0xA000,
  22.         0x5FFC,0xA000,
  23.         0x5FFC,0xA000,
  24.         0x5FFC,0xA000,
  25.         0x5FFC,0xA000,
  26.         0x5FFC,0xA000,
  27.         0x1FFC,0x2000,
  28.         0x5FFC,0xA000,
  29.         0x1FFC,0x2000,
  30.         0x0000,0x2000,
  31.         0x6000,0xA000,
  32.         0x7000,0xA000,
  33.         0x7FFF,0xA000,
  34.         0x7FFF,0xA000,
  35.         0x7FFF,0xA000,
  36.         0x7FFF,0xA000,
  37.         0x7FFF,0xA000,
  38.         0x7FFF,0xA000,
  39.         0x7FFF,0xA000,
  40.         0x7FFF,0xA000,
  41.         0x7FFF,0xA000,
  42.         0x7FFF,0xA000,
  43.         0x7FFF,0xA000,
  44.         0x7FFF,0xA000,
  45.         0x7FFF,0xA000,
  46.         0x7FFF,0xA000,
  47.         0x7FFF,0xA000,
  48.         0x5DDD,0xA000,
  49.         0x2AAA,0xA000,
  50.         0x1011,0x2000,
  51.         0x0000,0x2000,
  52.         0x0000,0x2000,
  53.         0x0000,0x0000,
  54.         0xFFFF,0xE000,
  55.     /* Plane 1 */
  56.         0x8000,0x0000,
  57.         0x8000,0x0000,
  58.         0x8000,0x6000,
  59.         0x8000,0x6000,
  60.         0x8000,0x6000,
  61.         0x83E0,0x6000,
  62.         0x83E0,0x6000,
  63.         0x83E8,0x6000,
  64.         0x8800,0x6000,
  65.         0xC558,0xE000,
  66.         0xCFFC,0xE000,
  67.         0xCFFC,0xE000,
  68.         0xCFFC,0xE000,
  69.         0xCFFC,0xE000,
  70.         0xDFFD,0xE000,
  71.         0xDFFD,0xE000,
  72.         0xDFFD,0xE000,
  73.         0xDFFD,0xE000,
  74.         0xDFFD,0xE000,
  75.         0x9AA5,0x6000,
  76.         0xD001,0xE000,
  77.         0x8001,0x6000,
  78.         0x8001,0x6000,
  79.         0x8001,0x6000,
  80.         0xFFFF,0x6000,
  81.         0xFFFF,0xE000,
  82.         0xFFFF,0xE000,
  83.         0xFFFF,0xE000,
  84.         0xFFFF,0xE000,
  85.         0xFFFF,0xE000,
  86.         0xFFFF,0xE000,
  87.         0xFFFF,0xE000,
  88.         0xFFFF,0xE000,
  89.         0xFFFF,0xE000,
  90.         0xFFFF,0xE000,
  91.         0xEEEE,0xE000,
  92.         0xD555,0x6000,
  93.         0x8000,0x6000,
  94.         0x8000,0x6000,
  95.         0x8000,0x6000,
  96.         0x8000,0x6000,
  97.         0x8000,0x6000,
  98.         0x8000,0x6000,
  99.         0x8000,0x6000,
  100.         0x8000,0x4000,
  101.         0x8000,0x0000,
  102.         0xFFFF,0xE000,
  103.     /* Plane 2 */
  104.         0x0000,0x0000,
  105.         0x0000,0x0000,
  106.         0x0000,0x0000,
  107.         0x1FFC,0x0000,
  108.         0x0FFC,0x0000,
  109.         0x07EC,0x0000,
  110.         0x0FEC,0x0000,
  111.         0x1FE4,0x0000,
  112.         0x140C,0x0000,
  113.         0x1AA4,0x0000,
  114.         0x1000,0x0000,
  115.         0x1000,0x0000,
  116.         0x1000,0x0000,
  117.         0x1000,0x0000,
  118.         0x0000,0x0000,
  119.         0x0000,0x0000,
  120.         0x0000,0x0000,
  121.         0x0000,0x0000,
  122.         0x0000,0x0000,
  123.         0x4000,0x8000,
  124.         0x0000,0x0000,
  125.         0x4000,0x8000,
  126.         0x4000,0x8000,
  127.         0x6000,0x8000,
  128.         0x0000,0x8000,
  129.         0x0000,0x0000,
  130.         0x0000,0x0000,
  131.         0x0000,0x0000,
  132.         0x0000,0x0000,
  133.         0x0000,0x0000,
  134.         0x0000,0x0000,
  135.         0x0000,0x0000,
  136.         0x0000,0x0000,
  137.         0x0000,0x0000,
  138.         0x0000,0x0000,
  139.         0x0000,0x0000,
  140.         0x0000,0x0000,
  141.         0x0000,0x0000,
  142.         0x0000,0x0000,
  143.         0x0000,0x0000,
  144.         0x2222,0x0000,
  145.         0x5555,0x0000,
  146.         0x6FEE,0x8000,
  147.         0x6FEE,0x8000,
  148.         0x5555,0x0000,
  149.         0x0000,0x0000,
  150.         0x0000,0x0000,
  151.     /* Plane 3 */
  152.         0x0000,0x0000,
  153.         0x7FFF,0xE000,
  154.         0x4001,0x8000,
  155.         0x5FFD,0x8000,
  156.         0x481D,0x8000,
  157.         0x400D,0x8000,
  158.         0x480D,0x8000,
  159.         0x580D,0x8000,
  160.         0x5C0D,0x8000,
  161.         0x1FFD,0x0000,
  162.         0x1FFD,0x0000,
  163.         0x1FFD,0x0000,
  164.         0x1FFD,0x0000,
  165.         0x5AA5,0x8000,
  166.         0x1449,0x0000,
  167.         0x5001,0x8000,
  168.         0x5001,0x8000,
  169.         0x5001,0x8000,
  170.         0x5001,0x8000,
  171.         0x5559,0x8000,
  172.         0x5FFD,0x8000,
  173.         0x5FFD,0x8000,
  174.         0x4001,0x8000,
  175.         0x7FFF,0x8000,
  176.         0x7FFF,0x8000,
  177.         0x7FFF,0x8000,
  178.         0x7FFF,0x8000,
  179.         0x7FFF,0x8000,
  180.         0x7FFF,0x8000,
  181.         0x7FFF,0x8000,
  182.         0x5555,0x0000,
  183.         0x0000,0x0000,
  184.         0x0000,0x0000,
  185.         0x0000,0x0000,
  186.         0x0000,0x0000,
  187.         0x1111,0x0000,
  188.         0x2AAA,0x8000,
  189.         0x7FFF,0x8000,
  190.         0x7FFF,0x8000,
  191.         0x7FFF,0x8000,
  192.         0x5DDD,0x8000,
  193.         0x2AAA,0x8000,
  194.         0x1011,0x0000,
  195.         0x1011,0x0000,
  196.         0x2AAA,0x8000,
  197.         0x7FFF,0xE000,
  198.         0x0000,0x0000,
  199.     /* Plane 4 */
  200.         0x0000,0x0000,
  201.         0x7FFF,0xE000,
  202.         0x4001,0x8000,
  203.         0x5FFD,0x8000,
  204.         0x481D,0x8000,
  205.         0x400D,0x8000,
  206.         0x480D,0x8000,
  207.         0x580D,0x8000,
  208.         0x5C0D,0x8000,
  209.         0x1FFD,0x0000,
  210.         0x1FFD,0x0000,
  211.         0x1FFD,0x0000,
  212.         0x1FFD,0x0000,
  213.         0x5AA5,0x8000,
  214.         0x1449,0x0000,
  215.         0x5001,0x8000,
  216.         0x5001,0x8000,
  217.         0x5001,0x8000,
  218.         0x5001,0x8000,
  219.         0x5559,0x8000,
  220.         0x5FFD,0x8000,
  221.         0x5FFD,0x8000,
  222.         0x4001,0x8000,
  223.         0x7FFF,0x8000,
  224.         0x7FFF,0x8000,
  225.         0x7FFF,0x8000,
  226.         0x7FFF,0x8000,
  227.         0x7FFF,0x8000,
  228.         0x7FFF,0x8000,
  229.         0x7FFF,0x8000,
  230.         0x5555,0x0000,
  231.         0x0000,0x0000,
  232.         0x0000,0x0000,
  233.         0x0000,0x0000,
  234.         0x0000,0x0000,
  235.         0x1111,0x0000,
  236.         0x2AAA,0x8000,
  237.         0x7FFF,0x8000,
  238.         0x7FFF,0x8000,
  239.         0x7FFF,0x8000,
  240.         0x5DDD,0x8000,
  241.         0x2AAA,0x8000,
  242.         0x1011,0x0000,
  243.         0x1011,0x0000,
  244.         0x2AAA,0x8000,
  245.         0x7FFF,0xE000,
  246.         0x0000,0x0000
  247.     };
  248.  
  249. struct Image im1 =
  250.     {
  251.         -2,-2,
  252.         19,47,
  253.         5,
  254.         &data1[0],
  255.         0xff,0x0,
  256.         NULL
  257.     };
  258.  
  259. /* Iff2Src conversion: vu2.br */
  260.  
  261. static __chip UWORD data2[250] =
  262.     {
  263.     /* Plane 0 */
  264.         0x7FFF,0x8000,
  265.         0x0000,0x0000,
  266.         0x0000,0x0000,
  267.         0x5FFD,0x8000,
  268.         0x581D,0x8000,
  269.         0x581D,0x8000,
  270.         0x5811,0x8000,
  271.         0x5819,0x8000,
  272.         0x5BF1,0x8000,
  273.         0x5D59,0x8000,
  274.         0x5FFD,0x8000,
  275.         0x5FFD,0x8000,
  276.         0x5FFD,0x8000,
  277.         0x5FFD,0x8000,
  278.         0x5FFD,0x8000,
  279.         0x5FFD,0x8000,
  280.         0x5FFD,0x8000,
  281.         0x5FFD,0x8000,
  282.         0x5FFD,0x8000,
  283.         0x1FFD,0x0000,
  284.         0x5FFD,0x8000,
  285.         0x1FFD,0x0000,
  286.         0x0001,0x0000,
  287.         0x7FFF,0x8000,
  288.         0x7FFF,0x8000,
  289.     /* Plane 1 */
  290.         0x8000,0x0000,
  291.         0x8000,0x0000,
  292.         0x8000,0x0000,
  293.         0x8000,0x0000,
  294.         0x881C,0x0000,
  295.         0x8800,0x0000,
  296.         0x8800,0x0000,
  297.         0x8808,0x0000,
  298.         0x8800,0x0000,
  299.         0xCD58,0x8000,
  300.         0xCFFC,0x8000,
  301.         0xCFFC,0x8000,
  302.         0xCFFC,0x8000,
  303.         0xCFFC,0x8000,
  304.         0xCFFC,0x8000,
  305.         0xCFFC,0x8000,
  306.         0xCFFC,0x8000,
  307.         0xCFFC,0x8000,
  308.         0xCFFC,0x8000,
  309.         0x8AA4,0x0000,
  310.         0xC000,0x8000,
  311.         0x8000,0x0000,
  312.         0x8000,0x0000,
  313.         0x8000,0x0000,
  314.         0xD555,0x0000,
  315.     /* Plane 2 */
  316.         0x0000,0x0000,
  317.         0x0000,0x0000,
  318.         0x0000,0x0000,
  319.         0x0001,0x0000,
  320.         0x07E1,0x0000,
  321.         0x040D,0x0000,
  322.         0x040D,0x0000,
  323.         0x0405,0x0000,
  324.         0x040D,0x0000,
  325.         0x02A5,0x0000,
  326.         0x0001,0x0000,
  327.         0x0001,0x0000,
  328.         0x0001,0x0000,
  329.         0x0001,0x0000,
  330.         0x0001,0x0000,
  331.         0x0001,0x0000,
  332.         0x0001,0x0000,
  333.         0x0001,0x0000,
  334.         0x0001,0x0000,
  335.         0x4001,0x8000,
  336.         0x0001,0x0000,
  337.         0x4001,0x8000,
  338.         0x4001,0x8000,
  339.         0x7FFF,0x8000,
  340.         0x2AAA,0x8000,
  341.     /* Plane 3 */
  342.         0x0000,0x0000,
  343.         0x7FFF,0x8000,
  344.         0x4001,0x8000,
  345.         0x5FFD,0x8000,
  346.         0x581D,0x8000,
  347.         0x580D,0x8000,
  348.         0x580D,0x8000,
  349.         0x580D,0x8000,
  350.         0x5C0D,0x8000,
  351.         0x1FFD,0x0000,
  352.         0x1FFD,0x0000,
  353.         0x1FFD,0x0000,
  354.         0x1FFD,0x0000,
  355.         0x5AA5,0x8000,
  356.         0x1449,0x0000,
  357.         0x5001,0x8000,
  358.         0x5001,0x8000,
  359.         0x5001,0x8000,
  360.         0x5001,0x8000,
  361.         0x5559,0x8000,
  362.         0x5FFD,0x8000,
  363.         0x5FFD,0x8000,
  364.         0x4001,0x8000,
  365.         0x7FFF,0x8000,
  366.         0x7FFF,0x8000,
  367.     /* Plane 4 */
  368.         0x0000,0x0000,
  369.         0x7FFF,0x8000,
  370.         0x4001,0x8000,
  371.         0x5FFD,0x8000,
  372.         0x581D,0x8000,
  373.         0x580D,0x8000,
  374.         0x580D,0x8000,
  375.         0x580D,0x8000,
  376.         0x5C0D,0x8000,
  377.         0x1FFD,0x0000,
  378.         0x1FFD,0x0000,
  379.         0x1FFD,0x0000,
  380.         0x1FFD,0x0000,
  381.         0x5AA5,0x8000,
  382.         0x1449,0x0000,
  383.         0x5001,0x8000,
  384.         0x5001,0x8000,
  385.         0x5001,0x8000,
  386.         0x5001,0x8000,
  387.         0x5559,0x8000,
  388.         0x5FFD,0x8000,
  389.         0x5FFD,0x8000,
  390.         0x4001,0x8000,
  391.         0x7FFF,0x8000,
  392.         0x7FFF,0x8000
  393.     };
  394.  
  395. struct Image im2 =
  396.     {
  397.         -2,-2,
  398.         17,25,
  399.         5,
  400.         &data2[0],
  401.         0xff,0x0,
  402.         NULL
  403.     };
  404.  
  405. /* Iff2Src conversion: vu3.br */
  406.  
  407. static __chip UWORD data3[235] =
  408.     {
  409.     /* Plane 0 */
  410.         0xFFC0,
  411.         0x0000,
  412.         0xD540,
  413.         0xBFC0,
  414.         0xBFC0,
  415.         0xBFC0,
  416.         0xBFC0,
  417.         0xBFC0,
  418.         0xBFC0,
  419.         0xBFC0,
  420.         0xBFC0,
  421.         0xBFC0,
  422.         0xBFC0,
  423.         0xBFC0,
  424.         0xBFC0,
  425.         0xBFC0,
  426.         0xBFC0,
  427.         0xBFC0,
  428.         0xAA80,
  429.         0x9100,
  430.         0x8880,
  431.         0x8000,
  432.         0x9540,
  433.         0xBFC0,
  434.         0xBFC0,
  435.         0xBFC0,
  436.         0xBFC0,
  437.         0xBFC0,
  438.         0xBFC0,
  439.         0xBFC0,
  440.         0xBFC0,
  441.         0xBFC0,
  442.         0xBFC0,
  443.         0xBFC0,
  444.         0xBFC0,
  445.         0xBFC0,
  446.         0xBFC0,
  447.         0xBFC0,
  448.         0xBFC0,
  449.         0xBFC0,
  450.         0xBB80,
  451.         0x9540,
  452.         0xA200,
  453.         0x8000,
  454.         0x8000,
  455.         0x0000,
  456.         0xFFE0,
  457.     /* Plane 1 */
  458.         0x0000,
  459.         0x0000,
  460.         0xC000,
  461.         0xC000,
  462.         0xC000,
  463.         0xC000,
  464.         0xC000,
  465.         0xC000,
  466.         0xD540,
  467.         0xFFC0,
  468.         0xFFC0,
  469.         0xFFC0,
  470.         0xFFC0,
  471.         0xFFC0,
  472.         0xFFC0,
  473.         0xFFC0,
  474.         0xFFC0,
  475.         0xFFC0,
  476.         0xEA80,
  477.         0xD100,
  478.         0xC880,
  479.         0xC000,
  480.         0xC000,
  481.         0xC000,
  482.         0xD540,
  483.         0xFFC0,
  484.         0xFFC0,
  485.         0xFFC0,
  486.         0xFFC0,
  487.         0xFFC0,
  488.         0xFFC0,
  489.         0xFFC0,
  490.         0xFFC0,
  491.         0xFFC0,
  492.         0xFFC0,
  493.         0xDDC0,
  494.         0xEA80,
  495.         0xC000,
  496.         0xC000,
  497.         0xC000,
  498.         0xC000,
  499.         0xC000,
  500.         0xC000,
  501.         0xC000,
  502.         0x4000,
  503.         0x0000,
  504.         0xFFE0,
  505.     /* Plane 2 */
  506.         0x0020,
  507.         0x0020,
  508.         0x0020,
  509.         0x0020,
  510.         0x0020,
  511.         0x0020,
  512.         0x0020,
  513.         0x0020,
  514.         0x0020,
  515.         0x0020,
  516.         0x0020,
  517.         0x0020,
  518.         0x0020,
  519.         0x0020,
  520.         0x0020,
  521.         0x0020,
  522.         0x0020,
  523.         0x0020,
  524.         0x1560,
  525.         0x2EE0,
  526.         0x3760,
  527.         0x3FE0,
  528.         0x3FE0,
  529.         0x3FE0,
  530.         0x2AA0,
  531.         0x0020,
  532.         0x0020,
  533.         0x0020,
  534.         0x0020,
  535.         0x0020,
  536.         0x0020,
  537.         0x0020,
  538.         0x0020,
  539.         0x0020,
  540.         0x0020,
  541.         0x0020,
  542.         0x0020,
  543.         0x0020,
  544.         0x0020,
  545.         0x0020,
  546.         0x0460,
  547.         0x2AA0,
  548.         0x1DE0,
  549.         0x1DE0,
  550.         0x2AA0,
  551.         0x0020,
  552.         0x0000,
  553.     /* Plane 3 */
  554.         0x0000,
  555.         0xFFC0,
  556.         0x3FC0,
  557.         0x3FC0,
  558.         0x3FC0,
  559.         0x3FC0,
  560.         0x3FC0,
  561.         0x3FC0,
  562.         0x2A80,
  563.         0x0000,
  564.         0x0000,
  565.         0x0000,
  566.         0x0000,
  567.         0x0880,
  568.         0x1540,
  569.         0x3FC0,
  570.         0x3FC0,
  571.         0x3FC0,
  572.         0x3FC0,
  573.         0x3FC0,
  574.         0x3FC0,
  575.         0x3FC0,
  576.         0x3FC0,
  577.         0x3FC0,
  578.         0x3FC0,
  579.         0x3FC0,
  580.         0x3FC0,
  581.         0x3FC0,
  582.         0x3FC0,
  583.         0x3FC0,
  584.         0x2A80,
  585.         0x0000,
  586.         0x0000,
  587.         0x0000,
  588.         0x0000,
  589.         0x2200,
  590.         0x1540,
  591.         0x3FC0,
  592.         0x3FC0,
  593.         0x3FC0,
  594.         0x3B80,
  595.         0x1540,
  596.         0x2200,
  597.         0x2200,
  598.         0x1540,
  599.         0xFFC0,
  600.         0x0000,
  601.     /* Plane 4 */
  602.         0x0000,
  603.         0xFFC0,
  604.         0x3FC0,
  605.         0x3FC0,
  606.         0x3FC0,
  607.         0x3FC0,
  608.         0x3FC0,
  609.         0x3FC0,
  610.         0x2A80,
  611.         0x0000,
  612.         0x0000,
  613.         0x0000,
  614.         0x0000,
  615.         0x0880,
  616.         0x1540,
  617.         0x3FC0,
  618.         0x3FC0,
  619.         0x3FC0,
  620.         0x3FC0,
  621.         0x3FC0,
  622.         0x3FC0,
  623.         0x3FC0,
  624.         0x3FC0,
  625.         0x3FC0,
  626.         0x3FC0,
  627.         0x3FC0,
  628.         0x3FC0,
  629.         0x3FC0,
  630.         0x3FC0,
  631.         0x3FC0,
  632.         0x2A80,
  633.         0x0000,
  634.         0x0000,
  635.         0x0000,
  636.         0x0000,
  637.         0x2200,
  638.         0x1540,
  639.         0x3FC0,
  640.         0x3FC0,
  641.         0x3FC0,
  642.         0x3B80,
  643.         0x1540,
  644.         0x2200,
  645.         0x2200,
  646.         0x1540,
  647.         0xFFC0,
  648.         0x0000
  649.     };
  650.  
  651.  
  652. struct Image im3 =
  653.     {
  654.         0,0,
  655.         11,47,
  656.         5,
  657.         &data3[0],
  658.         0xff,0x0,
  659.         NULL
  660.     };
  661.